package patterns.composite_entity;

/**
 * Created by lenovo on 2016/12/12 0012.
 * 组合实体类
 */
public class CompositeEntity {
    private CoarseGrainedObject cgo = new CoarseGrainedObject();

    public void setData(String data1,String data2){
        cgo.setData(data1,data2);
    }

    public String[] getData(){
        return cgo.getData();
    }
}
